
export interface ApiResult<T> {
  code: number;
  message: string;
  result: T,
};

export interface PageResult<T> {
  total: number;
  pageNum: number;
  pageSize: number;
  list: T,
};

export interface StatisticsItem {
  id: number;
  dinosaurType: number;
  showSellNumber: number;
  price: string;
  imageUrl: string;
  actualSellNumber: number;
  updateAt: string;
}

export interface BuyRecordItem {
  id: number;
  dinosaurType: number;
  userAddress: string;
  amount: number;
  orderStatus: number;
  updateAt: string;
}

export interface MineDinosaurItem {
  id: number;
  dinosaurType: number;
  userAddress: string;
  ownerNumber: number;
  totalOutput: number;
  payAmount: number;
  imageUrl: string;
  dailyRate: number;
  updateAt: string;
  holdStatus: boolean;
  price: string;
}


export interface WaitReceiveItem {
  type: number,
  number: number,
  rewardAmount: number,
  imageUrl: string,
}


export interface MineWaitReceive {
  waitReceiveAmount: number;
  status: boolean;
  stopTime: string;
  list: WaitReceiveItem[]
}

export interface MyIncomeRecordItem {
  id: number;
  receiveDate: string;
  userAddress: string;
  amount: number;
  dinosaurJson: string;
  updateAt: string;
}

export interface MyKTBalance {
  ktBalance: number;
  withdrawAmount: number;
  totalAcquireAmount: number;
  incentiveAmount:number;
  issueAmount: number;
  holdType: number;
}


export interface UserInviteInfo {
  parentUserCode: string;
  myInviterCode: string;
  parentUserAddress: string;
  defaultCode: string;
}

export interface DinosaurListItem {
  id: number;
  type: number;
  imageUrl: string;
  price: string;
  advanceSaleNumber: number;
  dispositionRate: number;
  status: boolean;
  dailyBuyLimit: number;
}